package com.JobWebGem.system.model.dto.delivery;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户创建请求
 *
 * @author renli
 */
@Data
public class DeliveryAddRequest implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 简历ID
     */
    @NotNull(message = "简历ID不能为空")
    @ApiModelProperty(value = "简历ID", required = true)
    private Integer resumeId;
    /**
     * 岗位ID
     */
    @NotNull(message = "岗位ID不能为空")
    @ApiModelProperty(value = "岗位ID", required = true)
    private Integer jobId;
}